package com.bm.mapper;
import com.bm.Vo.Notice.NoticeUserListVo;
import com.bm.model.EjyyNoticeToUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @Entity com.bm.model.EjyyNoticeToUser
*/
@Mapper
public interface EjyyNoticeToUserMapper extends BaseMapper<EjyyNoticeToUser> {

    //查询总条数
    int selectAllNoticeToUserNumber(@Param("ejyyNoticeToUser") EjyyNoticeToUser ejyyNoticeToUser);

    //查询用户通知
    List<NoticeUserListVo> selectAllNoticeToUser(@Param("pageNum") int pageNum, @Param("pageSiz") int pageSiz,@Param("published") Boolean published,
    @Param("communityId") Long communityId);
}
